<?php if(!defined('SIDELOADED')) { echo 'Direct access is not allowed.'; }
/**
 * @author Tyil <info@tyil.nl>
 * @version 1.0 beta [30-03-2012]
 */

@session_start();

class Session {

  public static function Get($var) {
    
    if(isset($_SESSION[$var])) {
     
      return $_SESSION[$var];
      
    } else {
      
      return null;
      
    }
    
  }
  
  public static function Set($var, $val) {
    
    $_SESSION[$var] = $val;
    
  }
  
}
